﻿using System;
using System.Text;

namespace Zeus.Core.Extension.Basic
{
    public static class StringBuilderExtensions
    {
        public static int IndexOf(this StringBuilder sb, Char value)
        {
            for (int index = 0; index < sb.Length; index++)
                if (sb[index] == value) return index;

            return -1;
        }
    }
}
